Skip to content

Conversation

@Harsh-Microsoft
Copy link
Contributor

Purpose

This pull request refactors the sample data import process for the Azure deployment scripts and documentation, making it easier for users to run post-deployment steps regardless of their deployment method (azd up or ARM/Bicep templates). The changes clarify instructions, improve user guidance, and enhance the robustness of the process_sample_data.sh script by supporting automatic value extraction, manual input, and better error handling.

Documentation improvements:

  • Updated both AVMPostDeploymentGuide.md and DeploymentGuide.md to clearly differentiate instructions based on deployment method (azd up vs. ARM/Bicep), provide step-by-step guidance, and add notes/tips for troubleshooting and authentication propagation. [1] [2]

Script enhancements for user experience and robustness:

  • Refactored infra/scripts/process_sample_data.sh to support three modes of value extraction: from azd environment, from Azure deployment outputs, or via manual user input, with clear validation and error handling for missing values. [1] [2]
  • Added functions to check for azd CLI installation, extract values safely, and display all resolved values before proceeding, improving transparency and reducing user error. [1] [2]
  • Improved messaging and argument handling in the script, so users are prompted appropriately and given usage examples when required values are missing.

DevOps workflow updates:

  • Updated the Azure deployment hooks in azure.yaml to remove the resource group argument from the sample data process command, reflecting the new script logic of auto-detecting or prompting for values. [1] [2]

These changes collectively make post-deployment onboarding smoother and reduce the risk of misconfiguration for users deploying via different Azure methods.

Does this introduce a breaking change?

  • Yes
  • No

Golden Path Validation

  • I have tested the primary workflows (the "golden path") to ensure they function correctly without errors.

Deployment Validation

  • I have validated the deployment process successfully and all services are running as expected with this change.

What to Check

Verify that the following are valid

  • ...

Other Information

@Roopan-Microsoft Roopan-Microsoft merged commit 3642453 into dev Oct 30, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants